import * as echarts from "echarts/core";

import { PieChart } from "echarts/charts";

import {
  TitleComponent,
  TooltipComponent,
  LegendComponent
} from "echarts/components";

import { LabelLayout } from "echarts/features";

import { CanvasRenderer } from "echarts/renderers";

echarts.use([
    PieChart,
    TitleComponent,
    TooltipComponent,
    LegendComponent,
    LabelLayout,
    CanvasRenderer
]);